{minimum_otp_vsn, "17.5"}.
{erl_opts, [
    debug_info,
    {warn_format, 2},
    warn_export_all,
    warn_export_vars,
    warn_obsolete_guard,
    warn_unused_import
% DEBUG mode - use local boulder instance
%    ,{d, 'TEST'}
]}.
{deps, [
    {shotgun, "0.3.0"},
    {jiffy  , "0.14.7"},
    {elli, "1.0.5"},

    % eletsencrypt escript dependencies
    {getopt         , "0.8.2"},
    {yamerl         , "0.4.0"},
    {erlang_color   , "1.0.0"}
]}.

{overrides, [
    {override, jiffy, [
        {plugins, [pc]},
        {provider_hooks, [{post, [
            {compile, {pc, compile}},
            {clean, {pc, clean}}
        ]}]}
    ]}
]}.

{dialyzer, [
    % disable *no_match* and *no_unused* temporary
    %{warnings, [error_handling, race_conditions]},
    {warnings, [error_handling, race_conditions, no_match, no_unused, no_return]},
    %{get_warnings, true}
    {get_warnings, false}
]}.

{plugins, [rebar3_auto, rebar3_hex]}.
